package com.example.gulimall.gateway;

import com.example.common.constant.BeanScanConstant;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * <p>
 *      网关服务，主要配置服务注册发现
 * </p>
 *
 * @author Zyred
 * @date 2021/8/23 20:01
 **/
@EnableDiscoveryClient
@SpringBootApplication(
        scanBasePackages = {
                BeanScanConstant.SENTINEL_PATH,
                BeanScanConstant.GATEWAY_SELF
        }
)
public class GulimallGetWayApplication {

    public static void main(String[] args) {
        SpringApplication.run( GulimallGetWayApplication.class, args);
    }

}
